package com.example.teesystem.entity.vo.classStudent;

import com.example.teesystem.common.valid.ValidErrorMessage;
import com.example.teesystem.common.valid.ValidId;
import com.example.teesystem.common.valid.ValidIds;
import lombok.Data;

import java.util.List;

@Data
public class ClassStudentUpdateVo {
    /**
     * 当前班级id
     */
    @ValidId(message = ValidErrorMessage.CLASS_ID_VALID_FAIL)
    private Integer curClassId;
    
    /**
     * 代转向班级id
     */
    @ValidId(message = ValidErrorMessage.CLASS_ID_VALID_FAIL)
    private Integer nextClassId;
    
    /**
     * 学生id 列表
     */
    @ValidIds(ifUserId = true, allowNull = false, message = ValidErrorMessage.USER_ID_VALID_FAIL)
    private List<Integer> studentIds;
}